#ifndef _STRPOS_H
#define _STRPOS_H

// return the index of initial
int Strpos(char str[], char pattern[]);

int StrLen(char str[])
{
    int len = 0;
    while (str[len] != '\0')
    {
        len++;
    };
    return len;
}

#endif